package com.majsubtense.core.events;

public class GameSceneChangeEvent extends GameControlEvent {
    public static final EventType<GameSceneChangeEvent> ANY;
    private final String changeFrom;
    private final String changeTo;

    public GameSceneChangeEvent(EventType<? extends Event> eventType, String changeFrom, String changeTo) {
        super(eventType);
        this.changeFrom = changeFrom;
        this.changeTo = changeTo;
    }

    public String getChangeFrom() { return changeFrom; }

    public String getChangeTo() { return changeTo; }

    static {
        ANY = new EventType<>(GameControlEvent.ANY, "GAME_SCENE_CHANGE_ANY");
    }
}
